NDepend.API Documentation
ToManYear(Nullable<AnnualInterest>) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqDebtFormatter Class > ToManYear Method : ToManYear(Nullable<AnnualInterest>) Method
The nullable estimated cost-per-year to leave one or several issues unfixed
Gets a double number of man-years that represents annualInterest. The number of man-years is computed from this.NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.NumberOfWorkHourPerDay and this.NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.NumberOfWorkDayPerYear.
Syntax

Parameters

annualInterest
The nullable estimated cost-per-year to leave one or several issues unfixed
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.TechnicalDebt.IDebtFormatter.NDepend.TechnicalDebt.IDebtFormatter.ToManYear must be called instead.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsCQLinqDebtFormatter Class
ExtensionMethodsCQLinqDebtFormatter Members
Overload List